////////////////////////////////////////////////////////////////////////////// 
//
//  np_cfg_macros.v
//
//  UP16-specific macros for manipulating control registers
//
//  Original Author: 
//  Current Owner:   
//
////////////////////////////////////////////////////////////////////////////// 
//
// Copyright (C) 2007 Synopsys, Inc.  All rights reserved.
//
// SYNOPSYS CONFIDENTIAL - This is an unpublished, proprietary work of
// Synopsys, Inc., and is fully protected under copyright and trade secret
// laws.  You may not view, use, disclose, copy, or distribute this file or
// any information contained herein except pursuant to a valid written
// license agreement. It may not be used, reproduced, or disclosed to others
// except in accordance with the terms and conditions of that agreement.
//
////////////////////////////////////////////////////////////////////////////// 
//
//    Perforce Information
//    $Author: 
//    $File: /include/np_cfg_macros.v $
//    $DateTime: 
//    $Revision: 
//
////////////////////////////////////////////////////////////////////////////// 

`ifdef NP_CFG_MACROS_V
`else
 `define NP_CFG_MACROS_V
 
 `define NP_CFG_ADDR_LEN 32
 `define NP_CFG_DATA_LEN 32
 `define NP_CFG_ADDR_RANGE `NP_CFG_ADDR_LEN-1:0
 `define NP_CFG_DATA_RANGE `NP_CFG_DATA_LEN-1:0
 `define NP_CFG_BCAST_BIT 15
 `define NP_CFG_TYPE_RANGE 14:12
 `define NP_CFG_LANE_RANGE 11:8
 `define NP_CFG_BANK_RANGE 7:5
 `define NP_CFG_REG_RANGE 4:0
 `define NP_CFG_BANK_DEPTH 32

 `define NP_CFG_TYPE_SUP   3'b000
 `define NP_CFG_TYPE_LANE  3'b001

`endif
